<div class="mr_moudle_head clearfix mr_w840">
	<div class="fl">
		<div class="mr_title">
			<span class="mr_title_l"></span><span class="mr_title_c">期望工作</span><span class="mr_title_r"></span>
		</div>
	</div>
	<div class="self-head-intro" onclick="resumeEdit('expect_edit','expect_show')" id="education">
		<i></i><em>编辑</em>
	</div>
</div>
<div class="resume-content mr_w840">
    <div class="list_show" >
        <div class="mr_jobe_list clearfix @if(empty($otherinfo)) hide @endif" id="expect_show">
        	<ul>
        	   <li><i class="icon-user-md"></i>&nbsp;&nbsp;{{!empty($otherinfo)?$otherinfo->expect_job:''}}</li>
        	   <li><i class="icon-time"></i>&nbsp;&nbsp;{{!empty($otherinfo)?$gzxz[$otherinfo->job_type]:''}}</li>
        	   <li><i class="icon-map-marker"></i>&nbsp;&nbsp;{{!empty($otherinfo)?$otherinfo->cityname:''}}</li>
        	   <li><i class="icon-money"></i>&nbsp;&nbsp;{{!empty($otherinfo) && !empty($otherinfo->expect_wages)?$salary[$otherinfo->expect_wages]:''}}</li>
        	</ul>
    	</div>
    	<form class="@if(!empty($otherinfo)) hide @endif" id="expect_edit">
             {!! csrf_field() !!}
            <div class="mr_add_work">
                <div class="form-group clearfix">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">期望职位</label>
                    <div class="col-sm-6 col-xs-12">
                        <input type="text" class="form-control" name="expect_job" placeholder="期望职位" value="{{!empty($otherinfo)?$otherinfo->expect_job:''}}">
                    </div>
                    <div class="col-sm-3 col-xs-12">
                        <select name="jobt_type" class="form-control">
                            @foreach($gzxz as $kg=>$gzx)
                            <option value="{{$kg}}" @if(!empty($otherinfo) && $otherinfo->job_type == $kg)selected @endif>{{$gzx}}</option>
                            @endforeach
                        </select>
                    </div>
                </div>
                <div class="form-group clearfix">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">期望城市</label>
                     <div class="col-sm-3">
                        <select class="form-control" onchange="childAreas(this.value,'areas','expect_city')" name="expect_province" id="province">
                            <option>---选择省份---</option>
                            @foreach($area as $are)
                            <option value="{{$are->area_id}}"  @if(!empty($otherinfo) && $otherinfo->expect_province == $are->area_id) selected @endif>{{$are->title}}</option>
                            @endforeach
                        </select>
                    </div>
                    <div class="col-sm-3">
                        <select class="form-control" onchange="childAreas(this.value,'areas','area')" name="expect_city" id="expect_city">
                            @if(!empty($otherinfo) && $otherinfo->expect_city > 0 )
                            <option value="{{$otherinfo->expect_city}}">{{$otherinfo->cityname}}</option>
                            @else
                            <option>---选择市---</option>
                            @endif
                        </select>
                    </div>
                </div>
                <div class="form-group clearfix">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">期望月薪</label>
                    <div class="col-sm-3 col-xs-12">
                        <select class="form-control" name="expect_wages">
                            @foreach($salary as $ks=>$sal)
                            <option value="{{$ks}}" @if(!empty($otherinfo) && $otherinfo->expect_wages == $ks )selected @endif>{{$sal}}</option>
                            @endforeach
                        </select>
                    </div>
                </div>
                <div class="form-inline mt-20">
                    <div class="form-group">
                     <span class="resume-btn-ok" onclick="saveResumeOther('/member/other','expect_edit','expect_show')">
                            保存
                      </span>
                    </div>
                    <div class="form-group col-xs-offset-1">
                        <span class="resume-btn-cancel"  onclick="resumeAdd('expect_edit','expect_show')">
                            取消
                        </span>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>